package com.yx.system.service.impl;

import com.yx.system.dao.TbWithdrawDao;
import com.yx.system.entity.TbWithdraw;
import com.yx.system.service.TbWithdrawService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class TbWithdrawServiceImpl implements TbWithdrawService {
	@Autowired
	private TbWithdrawDao withdrawDao;
	
	@Override
	public TbWithdraw queryObject(Integer id){
		return withdrawDao.queryObject(id);
	}
	
	@Override
	public List<TbWithdraw> queryList(Map<String, Object> map){
		return withdrawDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return withdrawDao.queryTotal(map);
	}
	
	@Override
	public void save(TbWithdraw withdraw){
		withdrawDao.save(withdraw);
	}
	
	@Override
	public void update(TbWithdraw withdraw){
		withdrawDao.update(withdraw);
	}
	
	@Override
	public void delete(Integer id){
		withdrawDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		withdrawDao.deleteBatch(ids);
	}
	
}
